import request from '@/utils/request.js'
// 单据：出入库单据明细列表
export const getDetailList = (params) => {
  return request.post('ProductManager/KCClient/GetOutInStockRegisterDetailByFlnkID', params)
}
// 单据：出入库单据
export const getOutInStockRegisterByFilter = (params) => {
  return request.post('ProductManager/KCClient/GetOutInStockRegisterByFilter', params)
}
// 根据条件查询库存信息列表
export const GetStockHisListByType = (params) => {
  return request.post('ProductManager/KCClient/GetStockHisListByType', params)
}
// 流水记录
export const getLogList = (params) => {
  return request.post('ProductManager/KCClient/GetPOutStockInventoryLogByFilter', params)
}
// 流水：上架下架查询
export const getMoveList = (params) => {
  return request.post('ProductManager/KCClient/GetMoveStockInventoryLogByFilter', params)
}
// 流水：入库查询
export const getInStockInventoryLogByFilter = (params) => {
  return request.post('ProductManager/KCClient/GetInStockInventoryLogByFilter', params)
}
// 流水：配送查询
export const getDeliveryStockInventoryLogByFilter = (params) => {
  return request.post('ProductManager/KCClient/GetDeliveryStockInventoryLogByFilter', params)
}
// 流水：物料类型查询
export const GetMaterielTypeList = (params) => {
  return request.get('ProductManager/KCClient/GetMaterielTypeList', {params: params})
}
// 流水：物料类型查询
export const getMaterielStockInventoryLogByFilter = (params) => {
  return request.get('ProductManager/KCClient/GetMaterielStockInventoryLogByFilter', {params: params})
}
// 根据条件模糊搜索物料列表
export const GetMaterielListByFilter = (params) => {
  return request.post('ProductManager/KCClient/GetMaterielListByFilter', params)
}

